package com.atguigu.lease.app.mapper;

import com.atguigu.lease.model.bean.SystemUser;
import com.atguigu.lease.model.vo.system.SystemUserItemVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author YouKinn
* @description 针对表【system_user(员工信息表)】的数据库操作Mapper
* @createDate 2025-06-20 20:18:17
* @Entity com.atguigu.lease.model.bean.SystemUser
*/
public interface SystemUserMapper extends BaseMapper<SystemUser> {

    Page<SystemUserItemVo> selectSystemUserItemVoPage(Page<SystemUserItemVo> systemUserItemVoPage,
                                                      //传入的wrapper mybatis不会自动使用
                                                      // 需要我们手动调用它的方法 获取他构建的自定义sql : ${ew. customSqlSegment}
                                                      @Param("ew") QueryWrapper queryWrapper);
}




